package com.tqz.rc.common.constant;

import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

/**
 * <p>
 *
 * @author tianqingzhao
 * @since 2021/8/26 16:04
 */
public class Constants {

    public static final String SERVICE_INFO_SPLITER = "@@";

    public static final String NAMING_INSTANCE_ID_SPLITTER = "#";

    public static final String LOCALHOST_SITE = "tqz";

    public static final String SNOWFLAKE_INSTANCE_ID_GENERATOR = "snowflake";

    public static final String INSTANCE_ID_GENERATOR = "preserved.instance.id.generator";

    public static final String ROOT_WEB_CONTEXT_PATH = "/";

    public static final String WEB_CONTEXT_PATH = "server.servlet.context-path";

    public static final String STANDALONE_MODE_PROPERTY_NAME = "nacos.standalone";

    public static final String COMMA_DIVISION = ",";

    public static final Charset CHARSET_UTF_8 = StandardCharsets.UTF_8;

    public static final int UDP_MSS = 64 * 1024;
}
